package _14并发工具类_CountDownLatch;

import java.util.concurrent.CountDownLatch;

public class Test {
    public static void main(String[] args) {
        CountDownLatch l = new CountDownLatch(3);
        Mother mother = new Mother(l);
        mother.start();
        new Children("大娃",l).start();
        new Children("二娃",l).start();
        new Children("三娃",l).start();
    }
}
